package com.luhuiguo.gwt.mvp.dispatcher.server;

import com.luhuiguo.gwt.mvp.dispatcher.shared.exception.ActionException;
import com.luhuiguo.gwt.mvp.dispatcher.shared.rpc.Action;
import com.luhuiguo.gwt.mvp.dispatcher.shared.rpc.Result;

/**
 * 
 * @author LuHuiguo
 * @version $Id: Dispatcher.java 11 2009-12-26 13:39:17Z luhuiguo $
 */
public interface Dispatcher {

    <A extends Action<R>, R extends Result> R execute(A action) throws ActionException;
}
